// example 3.1
// relay test - John Boxall - http://tronixstuff.wordpress.com

void setup() 
{ 
  pinMode (2, OUTPUT);
} 

void loop() 
{ 
  for (int i = 1; i<=20; i++)
  {  
    digitalWrite (2, HIGH);
    delay (1000);
    digitalWrite (2, LOW);
    delay (1000);
  }
  delay (2000);
} 

